Version

CustomListSortCondition Constructor(IEnumerable<String>)

Creates a new CustomListSortCondition instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal list As IEnumerable(Of String) _
)
public CustomListSortCondition( 
   IEnumerable<string> list
)

Parameters

list
The list of values in the order in which they should be sorted.
Remarks

When the sort direction is ascending, the data range is sorted with the cells in the custom list appearing first, in the order they appear in the list, followed by the other cells in the same relative order they had to each other before the sort. When the sort direction is descending, the cells not in the list will appear first in the data region and they will appear in the same relative order they had before the sort. They will be followed by the other cells in the reverse order of the list.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also